@PACKAGE_INIT@

include(CMakeFindDependencyMacro)
@QT_DEPENDENCIES@
@QCORO_DEPENDENCIES@

include("${CMAKE_CURRENT_LIST_DIR}/QCoro@QT_VERSION_MAJOR@@MODULE_NAME@Targets.cmake")

# Versionless target, for compatiblity with Qt6
if (TARGET QCoro@QT_VERSION_MAJOR@::@MODULE_NAME@ AND NOT TARGET QCoro::@MODULE_NAME@)
    add_library(QCoro::@MODULE_NAME@ INTERFACE IMPORTED)
    set_target_properties(QCoro::@MODULE_NAME@ PROPERTIES
        INTERFACE_LINK_LIBRARIES "QCoro@QT_VERSION_MAJOR@::@MODULE_NAME@"
    )
endif()
